Errors

Paynetics system incorporates the API result in the following format:

HTTP Response code - is always 200 - OK. This indicates that your request has successfully reached our servers.

Detailed error codes can be found in the JSON Response body:

Example {"code": 0} = SUCCESS

Attributes

* code string

All API responses come with a code attribute in the header. These indicate a variety of reasons why a request may be declined.

message string

In addition to the code, Paynetics provides a description of the error that occurred. 

* mandatory

JSON GENERAL CODE SUMMARY

400 - Bad Request

services.general.bad_request

401 - Unauthorized

services.general.http_unauthorized

404 - Not Found

services.general.http_not_found_exception

500 - Exception

services.general.http_exception

11000 - Error

services.general.error

11001 - Validation Error

services.general.validation_error

11002 - Entity not found

services.general.entity_not_found

11004 - Non Unique Value

services.general.non_unique_value

11008 - Service request exception

services.general.service_request_exception